package com.example.homegallerie;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RadioButton;

public class mbamap extends Activity{
	protected void onCreate(Bundle savedInstanceState) {
	      super.onCreate(savedInstanceState);
	      setContentView(R.layout.mbamap);
	      
	      final RadioButton RadioButton1 = (RadioButton) findViewById(R.id.RadioButton1);
	      final RadioButton RadioButton2 = (RadioButton) findViewById(R.id.RadioButton2);
	      final RadioButton RadioButton3 = (RadioButton) findViewById(R.id.RadioButton3);
	      final RadioButton RadioButtonE = (RadioButton) findViewById(R.id.RadioButtonE);
	      
	      
	      RadioButton1.setOnClickListener(new OnClickListener() {
	          public void onClick(View v) {
	             Intent intentmap1 = new Intent(mbamap.this, mbae1map.class);
	             startActivity(intentmap1);
	          }
	      });
	      
	      RadioButton2.setOnClickListener(new OnClickListener() {
	          public void onClick(View v) {
	             Intent intentmap2 = new Intent(mbamap.this, mbae2map.class);
	             startActivity(intentmap2);
	          }
	      });
	      
	      RadioButton3.setOnClickListener(new OnClickListener() {
	          public void onClick(View v) {
	             Intent intentmap3 = new Intent(mbamap.this, mbae3map.class);
	             startActivity(intentmap3);
	          }
	      });
	      
	      RadioButtonE.setOnClickListener(new OnClickListener() {
	          public void onClick(View v) {
	             Intent intentmap0 = new Intent(mbamap.this, mbae0map.class);
	             startActivity(intentmap0);
	          }
	      });
}
	
}
